import request from '@/utils/request'
import {encodeParams} from '@/utils'

 //  agentLevelRebate?${encodeParams(data)}
export function list(data) {
  return request({
    url: '/api/agentLevelRebate/list',
    method: 'POST',
    data
  })
}


//agentLevelRebate
export function update(data) {
  return request({
    url: '/api/agentLevelRebate/update',
    method: 'POST',
    data
  })
}

export default { list, update }
